package com.ruicar.afs.cloud.channel.common.until;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
@Data
public class ChannelConfig {


    /**
     * 进件admin服务
     */
    @Value("${com.greatwall.services.wow-admin.clientId}")
    private String applyAdminClientId;
    @Value("${com.greatwall.services.wow-admin.clientSecret}")
    private String applyAdminClientSecret;

    // 进件端
    @Value("${com.greatwall.services.apply-service.clientId}")
    private String applyClientId;
    @Value("${com.greatwall.services.apply-service.clientSecret}")
    private String applyClientSecret;

    // 案件
    @Value("${com.greatwall.services.case-service.clientId}")
    private String caseClientId;
    @Value("${com.greatwall.services.case-service.clientSecret}")
    private String caseClientSecret;


    //账务
    @Value("${com.greatwall.services.voucher-service.client_id}")
    private String voucherClientId;
    @Value("${com.greatwall.services.voucher-service.client_secret}")
    private String voucherClientSecret;
}
